package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2024-05-27
 * Time: 18:41
 */
public class Father1 {
    int a;
    int b;
    //构造方法
    public Father1(int a, int b) {
        this.a = a;
        this.b = b;
        System.out.println("父类，构造方法");
    }
    {
        System.out.println("父类，实例方法");
    }
    static {
        System.out.println("父类，静态方法");
    }
}
